<?php
$imgArray = get_post_gallery_images();
?>
<p class="esc-tips">点击“Esc”退出全屏</p>
<div class="issue-content">
    <div class="issue-page-container" id="issue-page-container">
        <a class="slide-prev" href="javascript:;" title=""></a>
        <a class="slide-next" href="javascript:;" title=""></a>
        <div class="issue-show-con">
            <img src="<?php echo $imgArray[0]; ?>" alt="">
            <a class="issue-fullpage" href="javascript:;" title=""></a>
        </div>
    </div>
    <div class="issue-thumb-container swiper-container" id="issue-thumb-container">
        <a class="slide-prev" href="javascript:;" title=""></a>
        <a class="slide-next" href="javascript:;" title=""></a>
        <ul class="issue-thumb-list swiper-wrapper clearfix">
            <?php
            for ($i = 0; $i < count($imgArray); $i++) {
            ?>
            <li class="swiper-slide">
                <img src="<?php echo $imgArray[$i]; ?>" alt="">
                <span class="thumb-index"><?php echo ($i + 1); ?></span>
            </li>
            <?
            }
            ?>
            
        </ul>
    </div>
</div>